//
// Created by 小演员的MacBook on 2024/6/24.
//

#include <iostream>
using namespace std;

int main() {
    std::cout << "Hello, World!" << std::endl;

    int a = 10, b = 20, sum = 0;
    //汇编指令，对a和b求和，赋值到sum中
//    __asm__ (
//            "add %1, %2, %0"
//            : "=r"(sum)
//            : "r"(a), "r"(b)
//            : "cc"
//    );
    cout << "a + b = " << sum << endl;



    return 0;
}